package com.jie.jie.mvp.contract;

import com.jaydenxiao.common.base.BaseModel;
import com.jaydenxiao.common.base.BasePresenter;
import com.jaydenxiao.common.base.BaseView;
import com.jie.jie.mvp.model.MvpdataBean;

import rx.Observable;

/**
 * Created by jie on 2017/1/22.
 */

public interface MvpContract {
    interface Model extends BaseModel {
        Observable<MvpdataBean> getfuli( final int pagesize, final int page);
        Observable<MvpdataBean> getAndroid( final int pagesize, final int page);

    }

    interface View extends BaseView {
        void returnfuli(MvpdataBean mvpdataBean);
        void returnAndroid(MvpdataBean mvpdataBean);

    }

    public abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void getTextRequest( final int pagesize, final int page);
        public abstract void getText1Request( final int pagesize, final int page);


    }


}
